#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Exchange.nanopb.h"
#define MAX_EXCHANGE_EQUIVALENT_NUM 2

class ExchangeEquivalentDesc : public NFIDescTemplate<ExchangeEquivalentDesc, E_ExchangeEquivalent, EOT_CONST_EXCHANGE_EQUIVALENT_DESC_ID, MAX_EXCHANGE_EQUIVALENT_NUM>
{
public:
	ExchangeEquivalentDesc();
	virtual ~ExchangeEquivalentDesc();
	int CreateInit();
	int ResumeInit();
public:
	virtual int Load(NFResDb *pDB) override;
	virtual int CheckWhenAllDataLoaded() override;
};
